import { defineConfig } from 'vite'

export default defineConfig({
  build: {
    emptyOutDir: true,
    copyPublicDir: false,
    lib:{
      entry: ['lib/index', 'lib/appVersionCheck', 'lib/appVersionMark', 'lib/appVersionConfig'],
      fileName: '[name]',
      formats:['es']
    },
    rollupOptions:{
      external:['node:fs','node:path']
    }
  }
})
